local M = {
  -- Only load whichkey after all the gui
  -- lazy.nvim
}

local config = require 'next.config'
-- require 'next.layers.edit'
for _, layer in ipairs(config.layers) do
  local plugins = require('next.layers.' .. layer)
  for _, plugin in ipairs(plugins) do
    table.insert(M, plugin)
  end
end

return M
